#pragma once

#include "globe.h"
#include "Number.hpp"

namespace cal
{

class Token
{
public: 
    static const char tk_null   = '`';
    static const char tk_number = 'n';
    static const char tk_quit   = 'q';

public:
    Token() :val{ }, kind{ tk_null } { }

public:
    bool is_null() const
    {
        return kind == tk_null;
    }

public:
    header::Number  val;
    char            kind;
};

}   // namespace cal
